<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<% String path = request.getContextPath();%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Index</title>
        <link rel="stylesheet" type="text/css" href="<%=path%>/css/pageination.css" />
        <script src="<%=path%>/js/libs/jquery/jquery-1.7.1.min.js"></script>
        <script src="<%=path%>/js/pagination.js"></script>
        <script src="<%=path%>/js/index.js"></script>
        <script src="<%=path%>/js/pageprinter.js"></script>
    </head>
    <body>
        <form id="pagination_form">
            <button type = "button" id = "pageprinter_button">打印</button><br>
            <label for="name" style = "display: inline-block;width: 50px;">Name：</label><input type = "text" name="name" id = "name"><br/>
            <label for="age" style = "display: inline-block;width: 50px;">Age：</label><input type = "text" name="age" id="age"><br/>
            <label for="age" style = "display: inline-block;width: 50px;">Sex：</label><select name="sex" id="sex"><option value = "0">男</option><option value = "1">女</option></select><br/>
            <button type = "button" id = "pagination_button">提交</button>

            
            <table id = "div_content" >
                    <tr>
                        <th data-options="field:'id',type:'checkbox',align:'center'">ID</th>
                        <th data-options="field:'name',align:'center'">姓名</th>
                        <th data-options="field:'age',align:'right'">年龄</th>
                        <th data-options="field:'sex',align:'center',formatter:formatSex">性别</th>
                        <th data-options="field:'sex',align:'center',formatter:formatOperate">操作</th>
                    </tr>
            </table>
            <div id  = "div_pagination" class = "div_pagination" style="line-height: 35px;height: 35px;"></div>
        </form>

    </body>
</html>
